package com.bean;

import lombok.Data;
import org.fusesource.jansi.Ansi;

@Data
public class CharColor {
    // 终端颜色
    private Ansi.Color terminalColor;
    // 控制台颜色  目前会在控制台可以输出更多的样式所以封装一个大的对象。
    private FontStyleBean consoleFontStyleBean;

    public CharColor() {
        this.terminalColor = Ansi.Color.WHITE;
        this.consoleFontStyleBean = new FontStyleBean();
    }
    public CharColor(Ansi.Color terminalColor) {
        this.terminalColor = terminalColor;
    }

    public CharColor(FontStyleBean consoleFontStyleBean) {
        this.consoleFontStyleBean = consoleFontStyleBean;
    }

    public CharColor(Ansi.Color terminalColor, FontStyleBean consoleFontStyleBean) {
        this.terminalColor = terminalColor;
        this.consoleFontStyleBean = consoleFontStyleBean;
    }
}
